package com.ruoyi.attachments.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 安装包管理对象 kw_package_info
 * 
 * @author gongln
 * @date 2023-11-13
 */
public class KwPackageInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增键 */
    private Integer id;

    /** 安装包文件类型 */
    @Excel(name = "安装包文件类型")
    private String packageType;

    /** 安装包文件名称 */
    @Excel(name = "安装包文件名称")
    private String packageName;

    /** 安装包文件路径 */
    private String packagePath;

    /** 安装包大小 */
    @Excel(name = "安装包大小")
    private Long packageSize;

    /** 安装包版本 */
    @Excel(name = "安装包版本")
    private String version;

    /** 操作系统版本 */
    @Excel(name = "操作系统版本")
    private String osVersion;

    /** 操作系统架构 */
    @Excel(name = "操作系统架构")
    private String cpuArch;

    /** 添加人 */
    private String createUser;

    /** 修改人 */
    private String updateUser;

    /** 备注 */
    private String comment;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setPackageType(String packageType) 
    {
        this.packageType = packageType;
    }

    public String getPackageType() 
    {
        return packageType;
    }
    public void setPackageName(String packageName) 
    {
        this.packageName = packageName;
    }

    public String getPackageName() 
    {
        return packageName;
    }
    public void setPackagePath(String packagePath) 
    {
        this.packagePath = packagePath;
    }

    public String getPackagePath() 
    {
        return packagePath;
    }
    public void setPackageSize(Long packageSize) 
    {
        this.packageSize = packageSize;
    }

    public Long getPackageSize() 
    {
        return packageSize;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setOsVersion(String osVersion) 
    {
        this.osVersion = osVersion;
    }

    public String getOsVersion() 
    {
        return osVersion;
    }
    public void setCpuArch(String cpuArch) 
    {
        this.cpuArch = cpuArch;
    }

    public String getCpuArch() 
    {
        return cpuArch;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("packageType", getPackageType())
            .append("packageName", getPackageName())
            .append("packagePath", getPackagePath())
            .append("packageSize", getPackageSize())
            .append("version", getVersion())
            .append("osVersion", getOsVersion())
            .append("cpuArch", getCpuArch())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .append("comment", getComment())
            .toString();
    }
}
